package com.chenglu.android.store.adapter;

import android.content.Context;
import android.widget.ImageView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.chenglu.android.R;
import com.chenglu.android.common.utils.GlideUtils;
import com.chenglu.android.common.utils.Utils;
import com.chenglu.android.goodsinfo.bean.ShopsinfoBean;
import com.chenglu.android.store.bean.ChartBangBean;

import java.util.List;

/**
 * @author: lyj
 * @Created: by Copyright 2023 10 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description：搜索历史
 */
public class StoreDesAdapter extends BaseQuickAdapter<ShopsinfoBean.Data.ServicesList, BaseViewHolder> {

    Context context;
//    List<HomeLike.Data.Records> data;
    public StoreDesAdapter(Context context, @Nullable List<ShopsinfoBean.Data.ServicesList> data) {
        super(R.layout.item_store_des, data);
        this.context = context;

    }


    @Override
    protected void convert(@NonNull BaseViewHolder helper, ShopsinfoBean.Data.ServicesList item) {

        if (item == null) {
            return;
        }

            helper.setText(R.id.tv_item_title,"·"+item.getTitle());
            helper.setText(R.id.tv_item_des,item.getContent());


    }
}
